<script>
    import {
        useAuthStore
    } from '@/stores/auth.js'
    export default {
        onLaunch: function() {

        },
        onShow: function() {
            // const authStore = useAuthStore();
            // console.log('是否登录', authStore.isAuthenticated())
            // //检查是否登录
            // if (!authStore.isAuthenticated()) {
            //     uni.navigateTo({
            //         url: "/pages/login/index"
            //     })
            // }
        },
        onHide: function() {
            console.log('App Hide')
        }
    }
</script>

<style lang="scss">
    /*每个页面公共css */
    @import '@/styles/tailwind.scss';
</style>